<!DOCTYPE html>
<html>
<head>
    <title>终端列表</title>
    <#include "/header.html">
    <link type="text/css" rel="stylesheet" href="${request.contextPath}/statics/plugins/layui/css/layui.css">
    <style>
        th {
            text-align: center;
        }

        .form-control {
            margin-left: 5px;
        }
    </style>

</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">

            <div>
                <div class="layui-inline">
                    <select v-model="q.terminalType" lay-verify="" class="layui-input layui-unselect"
                            style="width: 160px">
                        <option v-for="ter in this.terminalTypes" :value="ter.terminalType">{{ter.terminalName}}
                        </option>
                    </select>
                </div>
                <div class="layui-inline">
                    <select v-model="q.activation" lay-verify="" class="layui-input layui-unselect"
                            style="width: 160px">
                        <option v-for="a in this.activations" :value="a.value">{{a.name}}</option>
                    </select>
                </div>
                <div class="layui-inline">
                    <select v-model="q.report" lay-verify="" class="layui-input layui-unselect"
                            style="width: 160px">
                        <option v-for="r in this.reports" :value="r.value">{{r.name}}
                        </option>
                    </select>
                </div>
                <div class="layui-inline">
                    <input type="text" class="layui-input" v-model="q.startSn"
                           placeholder="请输入起始SN">
                </div>
                <div class="layui-inline">
                    <input type="text" class="layui-input" v-model="q.endSn"
                           placeholder="请输入结束SN">
                </div>
                <div class="layui-inline">
                    <input type="text" class="layui-input" v-model="q.merchantCode"
                           placeholder="请输入终端号">
                </div>
                <div class="layui-inline">
                    <input type="text" class="layui-input" v-model="q.ownName"
                           placeholder="请输入归属人姓名">
                </div>
                <div class="layui-inline">
                    <input type="text" class="layui-input" v-model="q.reapName"
                           placeholder="请输入返现人姓名">
                </div>
                <div class="layui-inline">
                    <input type="button" class="btn btn-primary form-control" @click="query" value="查询"/>
                </div>
                <div class="layui-inline">
                    <input type="button" class="btn btn-primary form-control" @click="clean" value="刷新"/>
                </div>
                <div style="height: 5px"></div>
                <form class="layui-inline">
                    <div class="layui-inline">
                        <input type="button" class="btn btn-primary form-control" @click="download" value="导出"/>
                    </div>
                </form>
            </div>
            <table id="jqGrid"></table>

            <div id="jqGridPager"></div>
        </div>
    </div>
</div>
</div>
<script src="${request.contextPath}/statics/js/modules/terminal/list.js?_${.now?long}"></script>
<script src="${request.contextPath}/statics/plugins/layui/layui.js"></script>

</body>
</html>